package spring.DI;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;

/**
 * @author ME
 * @date 2020/11/10
 */
public class TestStaticPriority implements BeanPostProcessor {

    public TestStaticPriority() {
        System.out.println("===============TestStaticPriority Construct");
    }

    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
        return bean;
    }

    @Override
    public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
        return bean;
    }
}
